package com.ruoyi.entity.po;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import java.io.Serial;
import java.io.Serializable;

/**
 * 活动状态对象 t_activity_switch
 *
 * @author ruoyi
 * @date 2024-12-07
 */
@Setter
@Getter
public class TActivitySwitch implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动名 */
    @Excel(name = "活动名")
    private String activityName;

    /** 活动编码 */
    @Excel(name = "活动编码")
    private String activityCode;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Boolean status;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("activityName", getActivityName())
                .append("activityCode", getActivityCode())
                .append("status", getStatus())
                .toString();
    }
}
